<?php
$cfg_db = require("database.php");
$cfg_cst = require("const.php");
$cfg_sys = array( 	
    'URL_MODEL' => 2, 
	'URL_CASE_INSENSITIVE'=>true, 
 	'APP_AUTOLOAD_PATH'=>'@.TagLib',//	
	'TMPL_ACTION_ERROR'     => './app/Tpl/Public/error.html',
    'TMPL_ACTION_SUCCESS'   => './app/Tpl/Public/success.html',
    'SHOW_PAGE_TRACE'=>true,	  //是否显示TRACE信息	
	'HTML_CACHE_ON'=>false,
		
	'APP_GROUP_LIST' => 'Index,System,Shop,Product,Order,Tuangou', //项目分组设定
	'DEFAULT_GROUP'  => 'Index', // 默认分组
	'DEFAULT_MODULE' => 'Index', // 默认模块名称
	'DEFAULT_ACTION' => 'index', // 默认操作名称
	'APP_GROUP_MODE' => 0,
	'ACTION_SUFFIX'=>'Act',
	'ADMIN_MENU_TYPE'=> array(
				'admin'		=>	'管理员菜单',
				'service'	=>	'客服菜单',
				'agent'		=>	'代理商菜单'),
	'OUTPUT_ENCODE'=>false,//解决压缩方式冲突
	'ADMIN_ROLE_ID'=>1,//解决压缩方式冲突
	
	'STATUS_SUCCESS'=>0,//解决压缩方式冲突
	'STATUS_ERROR'=>1,//解决压缩方式冲突
	'STATUS_WARN'=>2,//解决压缩方式冲突
	
	'OFFICE_MENU_TYPE'=> array(
				'supplyer'	=>	'商户菜单',
				),
	'LOAD_EXT_FILE'=>'modifier,select_list,admin',
	'DOMAIN_PHOTO'		=> 'http://photo.59likesong.com',
	'REALPATH_PHOTO'	=> "/home/www/lks/upload/photo",
	'REALPATH_SHOP'	=> "/home/www/lks/public/shop",
	//'DOMAIN_PHOTO'		=> 'http://photo.local.59likesong.com',
	//'REALPATH_PHOTO'	=> "F:/likesong/upload/photo",
	//'REALPATH_SHOP'	=> "F:/likesong/public/shop",
);
return array_merge($cfg_sys,$cfg_db,$cfg_cst);
?>